API Documentation
Theme.h
1 // Theme.h
3 //
5 
6 namespace nkWinUi
7 {
11  struct DLL_WINUI_EXPORT ThemeColors
12  {
25 
30 
35  } ;
36 }
37 
38 namespace nkWinUi
39 {
43  class DLL_WINUI_EXPORT Theme final
44  {
45  public :
46 
50  Theme () ;
54  ~Theme () ;
55 
56  // Getters
60  const char* getName () const ;
68  const ThemeColors& getColors () const ;
69 
70  // Setters
76  void setName (const char* name) ;
77  } ;
78 }
nkWinUi::ThemeColors::_textColor
Color _textColor
Definition: Theme.h:34
nkWinUi::Theme::Theme
Theme()
nkWinUi::Theme::~Theme
~Theme()
nkWinUi::ThemeColors::_hoverColor
Color _hoverColor
Definition: Theme.h:29
nkWinUi::Theme::getColors
const ThemeColors & getColors() const
nkWinUi::Theme::setName
void setName(const char *name)
nkWinUi::ThemeColors::_ternaryColor
Color _ternaryColor
Definition: Theme.h:24
nkWinUi::Theme::getName
const char * getName() const
nkWinUi::Color
Represents a color.
Definition: Color.h:12
nkWinUi::Theme
A theme used to style the windows in the component.
Definition: Theme.h:44
nkWinUi::Theme::getColors
ThemeColors & getColors()
nkWinUi::ThemeColors::_primaryColor
Color _primaryColor
Definition: Theme.h:16
nkWinUi::ThemeColors::_secondaryColor
Color _secondaryColor
Definition: Theme.h:20
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Button.h:7
nkWinUi::ThemeColors
Information about all the colors a theme will need.
Definition: Theme.h:12